class HiEmployee
	{
	int id;
	String name;
	double salary;
	
	HiEmployee()
		{
		}
		
	HiEmployee(int i, String n, double s)
		{
		this.id = i;
		this.name = n;
		this.salary = s;
		}
	
	static HiEmployee maxSalary(HiEmployee e1, HiEmployee e2)
		{
		if(e1.salary>e2.salary)
			return e1;
		else
			return e2;
		}
	
	static void printEmployee(HiEmployee e)
		{
		System.out.println("Employee Details of Employee geting highest salary:");
		System.out.println("ID : " + e.id + "\tName : " + e.name + "\tSalary : " + e.salary);
		}
		
	public static void main(String args[])
		{
		HiEmployee ee1 = new HiEmployee(1, "Nitin", 20367.90);
		HiEmployee ee2 = new HiEmployee(2, "Anil", 19467.90);
		HiEmployee HiEmp = HiEmployee.maxSalary(ee1,ee2);
		HiEmployee.printEmployee(HiEmp);
		}
	}